get web api relative path

112

get web api relative path -

var fullPath = System.Web.Hosting.HostingEnvironment.MapPath(@"~/App_Data/yourXmlFile.xml");

Comments

Submit
0 Comments